projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
556ff98
)
Remove some compat code from viper-cmd.el
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 18 Aug 2020 21:22:36 +0000
(23:22 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 18 Aug 2020 21:22:36 +0000
(23:22 +0200)
* lisp/emulation/viper-cmd.el (viper-next-line-at-bol): No need to
check for button-at.
lisp/emulation/viper-cmd.el
patch
|
blob
|
history
diff --git
a/lisp/emulation/viper-cmd.el
b/lisp/emulation/viper-cmd.el
index b10a533a77cfc28ce50df0eecfa5c5ff3f15df99..5518af4997d6b9b28449ade8fe29dfb95ec2a1f1 100644
(file)
--- a/
lisp/emulation/viper-cmd.el
+++ b/
lisp/emulation/viper-cmd.el
@@
-2883,7
+2883,7
@@
If point is on a widget or a button, simulate clicking on that widget/button."
(and (consp widget)
(get (widget-type widget) 'widget-type))))
(widget-button-press (point))
- (if (
and (fboundp 'button-at) (fboundp 'push-button) (button-at (point)
))
+ (if (
button-at (point
))
(push-button)
;; not a widget or a button
(save-excursion